package com.hzb.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @version v1.0
 * @ProjectName: cloud2020
 * @ClassName: PaymentFallbackService
 * @Description: TODO(一句话描述该类的功能)
 * @Author: huangZB
 * @Date: 2020/3/17 15:00
 */
@Component
public class PaymentFallbackService  implements PaymentOpenFeignHystrixService{

    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";

    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut , (┬＿┬)";
    }
}
